# -*- coding:utf-8 -*-
# 2013-08-13

import codecs

with codecs.open('./README', mode='w', encoding='utf-8') as fh:
	fh.write(u'小工具函数.\n')
	fh.write(u'Python 写UTF-8文件是不带文件头的.')
	fh.write(u'ecdecs.open 要么读，要么写，mode 不能为 rw ')

with codecs.open('./README', mode='r', encoding='utf-8') as fh:	
	for i in fh.readlines():
		print i